home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 12 / Mac Magazin and MacEasy Magazine CD - Issue 12.iso / Sharewarebibliothek / Anwendungen / Grafik / MacRTrace1.8.4.2 ƒ / mball.scn < prev    next >
Text File  |  1995-01-26  |  2KB  |  77 lines

  1.  
  2. %
  3. %
  4. % mball - multiple colored balls over a plain
  5. %
  6. % author: Barry T. Drake, Occidental College Computer Center
  7. % e-mail: bdrake@oxy.edu
  8. % date: 7/23/91
  9. % thanks-to: C. Regis Wilson, t_pascal@oxy.edu
  10. %
  11. % modified: ajones, 072391, fixed the mirrored surface appearance
  12. % BTD, 072491, added colors and made it *big*
  13. %
  14. % notes: 1) This ray file takes ~30,000 cpu seconds to trace on
  15. % a Sun 4/280 (a 10 Mips machine).
  16. % 2) The idea for this came from a Sun .background that we ftp
  17. % from someplace whose name we lost (sorry!).
  18. % 3) Changing screen to 100 100 and depth to 2 decreases
  19. % trace time to 2000 cpu seconds on a 68030 (NeXT cube).
  20. % 4) If you want better shadows of the pyramid, try decreasing
  21. % the reflectivity of surface.
  22. % 5) I think this is a lot of fun. Thanks, Craig!
  23. %
  24. eye -8 -20 6
  25. look 0 0 6
  26. up 0 0 1
  27. fov 30
  28. light extended -8 -10 20 mono 2.5 2.5 8
  29. %%surfaces
  30. %% plane
  31. quadrangle
  32. marble scale 4 4 4
  33. transform scale 1000
  34. surface 0.6 0.6 0.4 0.8 0.8 0.8 0.2 0.2 0.2 18 0.1
  35. data 1 1 0 -1 1 0 -1 -1 0 1 -1 0
  36. %% balls
  37. surface 0.00 0.00 0.8 0.00 0.00 0.15 0.9 0.9 0.9 60 0.8
  38. sphere 0 0.1 6 1
  39. sphere 1 -5 8 1
  40. sphere 2 0.1 4 1
  41. sphere 3 -5 6 1
  42. sphere 5 -1.6 4 1
  43. sphere 5 -5 4 1
  44. sphere 5 -8.4 4 1
  45. sphere 7 -5 8 1
  46. surface 0.00 0.8 0.00 0.00 0.15 0.00 0.9 0.9 0.9 60 0.8
  47. sphere 0 -3.3 6 1
  48. sphere 2 -6.7 4 1
  49. sphere 3 -8.4 6 1
  50. sphere 4 -3.3 8 1
  51. sphere 5 -5 10 1
  52. sphere 9 -5 6 1
  53. surface 0.4 0.4 0.4 0.05 0.05 0.05 0.9 0.9 0.9 60 0.8
  54. sphere -1 -11.8 4 1
  55. sphere -1 -5 4 1
  56. sphere -1 -8.4 4 1
  57. sphere -1 1.8 4 1
  58. sphere 0 -10.1 6 1
  59. sphere 0 -6.7 6 1
  60. sphere 0 15 11 10
  61. sphere 1 -1.6 8 1
  62. sphere 2 -10.1 4 1
  63. sphere 2 -3.3 4 1
  64. sphere 2 -6.7 10 1
  65. sphere 3 -1.6 6 1
  66. sphere 3 -5 12 1
  67. sphere 4 -6.7 8 1
  68. sphere 6 -3.3 6 1
  69. sphere 6 -6.7 6 1
  70. sphere 8 -3.3 4 1
  71. sphere 8 -6.7 4 1
  72. surface 0.8 0.00 0.00 0.15 0.00 0.00 0.9 0.9 0.9 60 0.8
  73. sphere -7.5 -1 1.001 1 % this is the fallen ball
  74. sphere 1 -8.4 8 1
  75. sphere 11 -5 4 1
  76. sphere 2 -3.3 10 1
  77.